package cn.funeralobjects.upms.enums;

import cn.funeralobjects.cache.EnumCache;

/**
 * Http的方法
 *
 * @author FuneralObjects
 * Create date: 2020/4/26 10:48 AM
 */
public enum HttpMethod {
    /**
     * get
     */
    GET,
    /**
     * post
     */
    POST,
    /**
     * put
     */
    PUT,
    /**
     * delete
     */
    DELETE,
    /**
     * option
     */
    OPTION,
    /**
     * head
     */
    HEAD,
    /**
     * trace
     */
    TRACE,
    /**
     * patch
     */
    PATCH,
    /**
     * 无method
     */
    NONE;

    static {
        EnumCache.registerCache(HttpMethod.class, Enum::name);
    }

}
